//
//  YGPatientHomeModel.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/3/16.
//

#import "JSONModel.h"
//@protocol YGPatientHomeModel;
@protocol PosterModel,MemberModel,ExpertModel,HospitalsModel;
@class HospitalsModel,ExpertModel,MemberModel,LogoModel;

@interface YGPatientHomeModel : JSONModel

@property (nonatomic, assign) NSInteger  information; //消息量
@property (nonatomic, strong) NSString  *logo;
@property (nonatomic, strong) NSArray <PosterModel> *poster;    //广告图
@property (nonatomic, strong) MemberModel  *member; //会员状态信息
@property (nonatomic, strong) NSArray <ExpertModel>  *expert; //专家信息
@property (nonatomic, strong) HospitalsModel  *hospitals;   //医院信息

@end

@interface HospitalsModel : JSONModel
@property (nonatomic, assign) NSInteger  hospitalsId;
@property (nonatomic, strong) NSString  *banner;
@end
             
@interface ExpertModel : JSONModel
@property (nonatomic, strong) NSString  *memberName;
@property (nonatomic, strong) NSString  *headimgUrl;
@property (nonatomic, strong) NSString  *mainTitle;
@property (nonatomic, strong) NSString  *beGoodAt;
@property (nonatomic, assign) NSInteger  sortNo;
@end

@interface MemberModel : JSONModel
@property (nonatomic, assign) NSInteger  status;
@property (nonatomic, strong) NSString  *statusName;
@end

@interface LogoModel : JSONModel
@property (nonatomic, assign) NSInteger  status;
@property (nonatomic, strong) NSString  *statusName;
@end

@interface PosterModel : JSONModel
@property (nonatomic, assign) NSInteger  type;
@property (nonatomic, strong) NSString  *name;
@property (nonatomic, strong) NSString  *posterUrl;
@property (nonatomic, strong) NSString  *imgUrl;

@end

